<template>
    <div class="con">
        <div class="top">
            <div class="title">
                <span>饿了么</span>
            </div>
            <div class="header">
            <span>全部</span>
            <span>代销费</span>
            <span>待评价</span>
            <span>退款</span>
            </div>
        </div>
        <div class="main">
           <div class="one">
            <p>纯手工饺子（凤城九路店）></p>
            <span>已送达</span>
           </div>
           <div class="two">
            <span>10减3</span>
            <span>10减3</span>
            <span>10减3</span>
           </div>
           <div class="tu">
            <div class="on">
                <img :src="pic1" alt="">
                <img :src="pic1" alt="">
            </div>
            <div class="right">
               <span> ￥17.8</span>
               <p>共2件</p>
            </div>
           </div>
           <div class="xia">
            <p>再来一单</p>
           </div>
        </div>
        <div class="main">
           <div class="one">
            <p>纯手工饺子（凤城九路店）></p>
            <span>已送达</span>
           </div>
           <div class="two">
            <span>10减3</span>
            <span>10减3</span>
            <span>10减3</span>
           </div>
           <div class="tu">
            <div class="on">
                <img :src="pic1" alt="">
                <img :src="pic1" alt="">
            </div>
            <div class="right">
               <span> ￥17.8</span>
               <p>共2件</p>
            </div>
           </div>
           <div class="xia">
            <p>再来一单</p>
           </div>
        </div>
    </div>
</template>

<script>
import pic1 from '../../assets/assets/pic1.png'
export default {
    data(){
       return{
        pic1,
       }
    }
}
</script>

<style scoped>
    .con{
        width: 100%;
        height: 800px;
        background-color:rgba(128, 128, 128, 0.107);
    }
    .con .top{
        margin-bottom: 10px;
        padding:0 10px;
        line-height: 30px;
        /* height: 60px; */
    }
    .con .top .title{
        font-weight: 700;
        text-align: center;
    }
    .con .header span {
        font-size: 14px;
       margin-right: 20px;
        
    }
    .con .main{
        margin-bottom: 10px;
        padding: 10px;
        box-sizing: border-box;
        width: 99%;
        height: 180px;
        border-radius: 5px;
        background-color:white;
    }
    .con .main .one{
        display: flex;
        justify-content: space-between;
        margin-bottom: 5px;
    }
    .con .main .two{
        margin-bottom: 10px; 
    }
    .con .main .two span{
       
       border: 1px solid orange; 
       margin-right: 10px;
       color: orangered;
       font-size: 14px;
    }
    .tu{
        display: flex;
        justify-content: space-between;
    }
    .tu img{
        height: 60px;
        margin-right: 5px;
    }
    .yu .xia{
        height: 20px;
    }
    .tu .xia p{
        width: 80px;
        text-align: center;
        line-height: 30px;
        height: 30px;
        border: 1px solid blue;
        border-radius: 20px;
        margin-left: 100px;
    }
</style>